<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>02_MVVM模型</title>
</head>
<script src="../node_modules/vue/dist/vue.js"></script>
<body>
    <div id="app">
        在这里输入的内容会显示在下面:<input type="text" v-model="msg" />
        <h2>{{msg}}</h2>
    </div>
    <script>
        const vm = new Vue({
            el: '#app',
            data:{
                msg:''
            }
        })
    </script>
</body>
</html>